package com.ccrfid.rmc6.service.business.chongqing;

public class PatrolTimeoutTask implements Runnable {

    private Long roadId;
    private String roadName;
    private CQPatrolManager patrolManager;

    public PatrolTimeoutTask(Long roadId, String roadName, CQPatrolManager patrolManager) {
        this.roadId = roadId;
        this.roadName = roadName;
        this.patrolManager = patrolManager;
    }

    @Override
    public void run() {
        patrolManager.patrolTimeout(roadId, roadName);
    }
}
